// 统一api出口
import {
  addFollow,
  deleteFollow,
  getUserChannels,
  getUserInfo,
  postUserInfo,
  postUserLoverId,
  updateUserAvatar,
  updateUserProfile,
  updateUserPwd,
  userLogin,
  userRegister,
  userSendSms
} from './user.js'
import {
  addCollect,
  addlike,
  deleteCollect,
  deleteLike,
  getArticleById,
  getArticleList
} from './article.js'
import { getAllChannels } from './channel.js'
import { getSearchResult, getSearchSuggestions } from './search.js'
import {
  addComment,
  addCommentLike,
  deleteCommentLike,
  getComments
} from './comment.js'
import { addMemory, deleteMemory, getMemory, updateMemory } from '@/api/memory'
import { addPeriod, getPeriod } from '@/api/period'
import {
  addCover,
  addNewMic,
  deleteMic,
  getMic,
  postUserLikedMic,
  postUserMic
} from '@/api/dynamic'
import { getChatsAll, getChatsAudio } from '@/api/chat'

export const updateUserProfileAPI = updateUserProfile
export const updateUserAvatarAPI = updateUserAvatar
export const updateUserPwdAPI = updateUserPwd

export const addCommentAPI = addComment
export const addCommentLikeAPI = addCommentLike
export const deleteCommentLikeAPI = deleteCommentLike
export const getCommentsAPI = getComments
export const addlikeAPI = addlike
export const deleteLikeAPI = deleteLike
export const addCollectAPI = addCollect
export const deleteCollectAPI = deleteCollect
export const addFollowAPI = addFollow
export const postUserInfoAPI = postUserInfo
export const deleteFollowAPI = deleteFollow
export const userLoginAPI = userLogin
export const userRegisterAPI = userRegister
export const userSendSmsAPI = userSendSms
export const getUserInfoAPI = getUserInfo
export const getUserChannelsAPI = getUserChannels
export const getArticleListAPI = getArticleList
export const getAllChannelsAPI = getAllChannels
export const getSearchSuggestionsAPI = getSearchSuggestions
export const getSearchResultAPI = getSearchResult
export const getArticleByIdAPI = getArticleById
export const postUserLoverIdAPI = postUserLoverId
export const addMemoryAPI = addMemory
export const getMemoryAPI = getMemory
export const deleteMemoryAPI = deleteMemory
export const updateMemoryAPI = updateMemory
export const addPeriodAPI = addPeriod
export const getPeriodAPI = getPeriod
export const addCoverAPI = addCover
export const addNewMicAPI = addNewMic
export const getMicAPI = getMic
export const postUserMicAPI = postUserMic
export const postUserLikedMicAPI = postUserLikedMic
export const deleteMicAPI = deleteMic

export const getChatsAllAPI = getChatsAll
export const getChatsAudioAPI = getChatsAudio
